|
![](/i/fill.gif) |
Why
#declare V2 = <10, 20>;
#debug concat(str(V2.u,0,0),"\n")
works (and returns "10") but
#declare V2 = <10, 20>;
#debug concat(str(V2.v,0,0),"\n")
gives a "bad operands for period operator"?
See also that
#declare V2 = <10, 20>;
#declare V3 = <0,0,0>;
#declare V = V2+V3;
#debug concat(str(V.x,0,0)," ",str(V.y,0,0)," ",str(V.z,0,0),"\n")
gives ar result "10 10 10" (thus I think promotions don't work).
It behaves like this since 3.0 version, both under windows and ms-dos.
Post a reply to this message
|
![](/i/fill.gif) |